package com.gene.pojo.entity;

import java.io.Serializable;

/**
 * 订单新建是需要的参数接受类
 */
public class Indent implements Serializable {

    /**
     * 商品id
     */
    private Long itemId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 收货人地址id
     */
    private Integer addressId;

    /**
     * 商品总金额
     */
    private Long totalFee;

    /**
     * 实际支付金额
     */
    private Long actualAmount;

    /**
     * 所扣除基因币数量
     */
    private Long deduct;

    /**
     * 商品购买数量
     */
    private Integer num;

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    public Long getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(Long totalFee) {
        this.totalFee = totalFee;
    }

    public Long getActualAmount() {
        return actualAmount;
    }

    public void setActualAmount(Long actualAmount) {
        this.actualAmount = actualAmount;
    }

    public Long getDeduct() {
        return deduct;
    }

    public void setDeduct(Long deduct) {
        this.deduct = deduct;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
}
